You are here: Glossary > Name Index
During simulation run time, ProModel converts the name of each location, entity, and resource to a list index number for efficient access and flexibility in assigning names to variables, attributes, etc. The index number corresponds to the order in which the elements appear in the edit table list. If five locations were defined, they will be identified by the index numbers 1 through 5 at run time. A name index may be assigned to a variable or attribute by referencing the name itself (e.g., Attr1 = EntityA). You may also test for a name index by referencing the name (e.g., if Var5 = Loc3).